* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;


}  
:root {
    --color-barra-lateral: rgb(1, 95, 209);
    --color-texto: white;
    --Color-boton:rgb(184, 255, 137);
    

}
body{
    font-family: Arial, Helvetica, sans-serif;
margin-top: -60px;
    height: 100vh ;
    width: 100%;
    background-color: rgb(255, 255, 255) !important;
 
}
main {
    width: 800px;
    margin: auto;
    padding-left: 30px;
}
.menu{

  background-color: rgb(1, 95, 209);
  color: white;
  position: fixed;
  width: 45px;
  height: 45px;
  font-size: 25px;
  display: none;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  cursor: pointer;
  top: 10px;
left: 330px;
}

.barra-lateral {
   width: 250px;
   height: 100vh;
   position: fixed;
   display: flex;
   flex-direction: column;
   justify-content: start;
   overflow: hidden;
   padding: 20px 15px;
   background-color: var(--color-barra-lateral);
   transition: width 0.5s ease,background-color 0.3s ease,left 0.5s ease;
   z-index: 50;


}
.barra-lateral .navegacion a:hover{
   background-color: rgb(8, 76, 195);
   color: rgb(253, 220, 29);
   padding: 5px;
}
.nav-text {
   opacity: 0;
   width: 0;
}
a{
   color: white;
   text-decoration: none;
   background-color: transparent;
}
 
.mini-barra-lateral{
   width: 80px;
}
.barra-lateral .nombre-pagina{
   display: block;
   width: 100%;
   height: 45px;
   color: var(--color-texto);
   margin-bottom: 30px;
   display: block;
   align-items: center;
}
.barra-lateral .nombre-pagina ion-icon{
   min-width: 50px;
   font-size: 35px;
   cursor: pointer;
}
.barra-lateral .nombre-pagina span{
   
   font-size: 17px;
   font-weight: bold;
   opacity: 1;
   transition: opacity 0.5s ease;


}
.barra-lateral span.oculto{
   opacity: 0;
   width: 0;
}

.logo {
   width: 100px;
   min-width: 50px;
   cursor: pointer;
}
#cloud{
   cursor: pointer;
}


#unidades {
   font-size: 15px;
   padding: 0px;
   text-align: left;
   line-height: 17px;
  font-weight: lighter;
  background-color: transparent;


}
.barra-lateral .navegacion {
   height: 100vh;
   overflow-y: auto;


  margin-top: 60px;

}
.navegacion {

   overflow-y: auto; /* Desbordamiento vertical con barra de desplazamiento */
 }
 .barra-lateral .navegacion::-webkit-scrollbar{
   width: 5px;
}
.barra-lateral .navegacion::-webkit-scrollbar-thumb{
   background-color: white;
   border-radius: 5px;
}
.barra-lateral .navegacion::-webkit-scrollbar-thumb:hover{
   background-color: rgb(248, 203, 0);
}

.barra-lateral .navegacion li{  
   list-style: none;

}


html {
    scroll-behavior: smooth;
  }
  
   /* Estilos generales */
   body {
    font-family: Arial, sans-serif;
    padding: 0;
    background-color: #ffffff; /* Fondo de la página */

}
.titulounidad {
    margin: auto;
    width: 42rem;
    }


/* Encabezado */
h1 {
    color:  #AD14AD;
    font-size: 20px;
}
h2 { 
    color:  #AD14AD;
    font-size: 18px;
    font-style: italic;
}
h3 {
  background-image: url(../materialgrafico/titulo_exerciseu2.png);
    background-repeat: no-repeat;
    background-size: 250px;
    padding: 15px;
    color: white;
    font-size: 22px; 
    font-family: Arial, Helvetica, sans-serif; 
    margin-top: 20px;
    font-weight: bold;
  
  }
  

/* Estilos para párrafos y listas */
p {
    margin: 10px;
    font-size: 17px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 23px; }

    .parrafoGris {
      background-color: #ad14ad;
      color: white;
      border-radius: 25px;
      padding: 15px;
    
    }

.p35pad{/* parrafos con 50px padding */
    padding-left: 35px;
  }

  .p25pad{/* parrafos con 25px padding */
    padding-left: 25px;
  }


  .spacep{
      margin-left: 0px;
  }
/* Estilos para ejemplos y palabras en negrita */
.ejemplosp {
    font-style: italic;
    margin-left: 60px;
    font-size: 17px;
    background-color: #f3f3f3;
   line-height: 23px;
}

.palabrascolor {
    color: #AD14AD;
    font-style: italic;
font-weight: bold;
}

/* Estilos para ejemplos y palabras en color */
.palabrasencerradas {
    background-color:  #AD14AD;
    color: #fff;
    padding: 5px 10px;
    border-radius: 10px;
    display: inline;
    width:fit-content;
margin: 5px;
    }


/* Columnas para ejemplos */
.contenedorlista1capitulo {
    display: flex;
    flex-wrap: wrap;
    width: 90%;

}

.contenedorlista1 {  /*2 columnas pc 1 columna telefono*/
    display: flex;
  }

  .contenedorlista2 { /*dos columnas en todos los dispositivos*/
    display: flex;
  }

  .renglon1{ /*  renglon 20% */
    border: none;
    border-bottom: 2px solid  #AD14AD;
    outline: none;
    width: 7em;
    padding: 0px;
    margin: 1px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    text-align: center;
  background-color: transparent;
  height: 20px;
  }

  .renglon2{ /*  renglon 5% */
    border: none;
    border-bottom: 2px solid   #AD14AD;
    outline: none;
    width: 17rem;
    padding: 1px;
    margin: 5px;
    background-color: transparent;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    text-align: center;
    
  }

  .renglon3{
    border: none;
    border-bottom: 2px solid;
    outline: none;
    width: 24rem;
    padding: 1px;
    margin: 5px;
    background-color: transparent;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    text-align: center;
    background-color: #e704e742;
    color: #AD14AD;
  }
  .renglon4{ /*  renglon 20% */
    border: none;
    border-bottom: 2px solid  #AD14AD;
    outline: none;
    width: 12em;
    padding: 0px;
    margin: 1px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    text-align: center;
  background-color: transparent;
  height: 20px;
  }

  .renglon5{
    border: none;
    border-bottom: 2px solid;
    outline: none;
    width: 3rem;
    padding: 1px;
    margin: 5px;
    background-color: transparent;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    text-align: center;
    color: #AD14AD;
  }
    
  .ejemploRC {
    border: none;
    border-bottom: 2px solid  #AD14AD;
    outline: none;
    width: 9em;
    padding: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color:  #AD14AD;
  }
  
    .contenedorrenglon {
      display: flex;
      align-items: center; /* Alinea verticalmente los elementos en el centro */
      height: 30px;
    }

.column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
  }

.columna5,.columna6 {
    width: 220px    ;
    margin-left: 30px;
}

/* Estilos para los ejercicios */
.renglon4 {
    border-bottom: 2px solid  #AD14AD;
    font-size: 17px;
    text-align: center;
}


ul {
    padding-left: 20px;
    list-style: none;
    justify-content: center;
  }

  .Ulcorta {
 margin-left: 50px;
  } 

  li {
    margin-bottom: 10px;
    background-color: #f3f3f3;
    background-position: center;
    padding: 3px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 5px;
    font-size: 17px;
    list-style: none;
    font-family:Arial, Helvetica, sans-serif;
    color:rgb(31, 31, 31);
    width: fit-content;
    font-size: 17px;
   }

   .listyellow {
    background-color:  #AD14AD;
    color: white;
    font-size: 16px;
    text-align: center;
    width: 150px;
    font-weight: bold;
    font-size: 17px;
   }

   .listyellow2 {
    background-color:  #AD14AD;
    color: white;
    font-size: 16px;
    text-align: center;
    width: 90px;
    font-weight: bold;
    justify-content: center;
    font-size: 17px;
   }
   .listalarga {
    width: 300px;
    text-align: left;
    font-size: 17px;
    margin-left: 15px;

   }
   .listalarga1 {
    width: 650px;
    text-align: left;
    font-size: 17px;
    margin-left: 15px;

   }


   .li600w{
    width: 600px;
   }
    /* Estilos CSS para la tabla */
    table {
        border-collapse: collapse;
        width: 70%;
        margin: auto;
        border-radius: 55px;
        font-family: Arial, Helvetica, sans-serif;
        margin: 5px;
        margin: 0 auto; /* Esto centra la tabla horizontalmente */
        font-weight: 17px;
    }



    th, td {
        padding: 5px;
        text-align: center;
        font-size: 16px;
    }
    
    /* Aplicar estilos alternos a las filas */
    tr:nth-child(even) {
        background-color: #f2f2f2; /* Fila gris para filas pares */
        border-radius: 25px;
        font-size: 16px;
    }
    
    tr:nth-child(odd) {
        background-color: #ffffff; /* Fila blanca para filas impares */
        font-size: 16px;
    }
    .contenedorcheck{
        display: flex;
        align-items: center;
        font-size: 18px;
        height: 22px;
        padding-left: 60px;
      }
      .preguntasfondo {
        background-color:  #AD14AD;
        padding: 5px;
        border-radius: 15px;
        color: white;
        width: fit-content;
        font-size: 16px;
      }
      
      input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }
    .correcto {
      color: green;
    }
    
    .incorrecto {
      color: red;
    }
    
    label {
      font-family: Arial, Helvetica, sans-serif;
      justify-content: center; /* Centra horizontalmente el contenido */
      align-items: center; /* Centra verticalmente el contenido */
      font-size: 17px;
    }

    #nouns {
      background-color: transparent;
      border: none;
      border-bottom: 2px solid #AD14AD; 
      color: rgb(41, 41, 41); /* Cambia el color del texto según tus preferencias */
      font-size: 15px;
    }

    .abrirycerrarmenu {
        color: #ffffff;
        display: flex;
       width: 45px;
       position: fixed;
       top:40px;
       left:198px;

    }
    .minimenu {
      color: #ffffff;
      display: flex;
     width: 45px;
     position: fixed;
     top:40px;
     left: 19px;


  }
@media (max-width: 400px){
    .barra-lateral{
        position: fixed;
        left: -250px;
        height: 800px;

    }
    .max-barra-lateral{
        left: 0;
    }
    .menu ion-icon:nth-child(2){
        display: none;
    }
 .menu {
    display: flex;
    right: 30px;
    position: fixed;



 }
 main{
    padding: 5px;
    padding-left: 0px;
width: 390px;
}
body {
font-size: 17px;
padding: 5px;
max-width: 390px;
}
 /* Reducir el margen izquierdo de ejemplos */
 .ejemplosp {
    margin-left: 0.7rem;
    font-size: 16px;

}

/* Cambiar el tamaño de fuente en pantallas pequeñas */
p {
    font-size: 17px;
    width: 90%;
}

.p50pad{/* parrafos con 50px padding */
    padding-left: 25px;
    width: 90%;
  }

  .p25pad{/* parrafos con 25px padding */
    padding-left: 10px;
  }

  .spacep1{
    margin-left: 100px;
}

.spacep2{
  margin-left: 70px;
}
.palabrasencerradas {
padding: 10 5 10 5;
margin: 2px;
}
.titulounidad {
margin: auto;
padding-top: 20px;
width: 390px;
}

.contenedorlista1capitulo {
display: flex;
width: 98%;
}

.contenedorlista1 {
display: block;

}

.contenedorlista2 {
display: flex;
margin-left: 1px;
padding-left: 1px;
}
.columna1_1 {

width: fit-content;
}

.columna1_2 {
width: fit-content;
}

.columna2 {
margin-left: 1px;
padding-left: 1px;
}

.columna5,.columna6 {
width: 180px    ;
margin-left: 10px;
}

ul {
padding: 4px;
list-style: none;

}
.Ulcorta {
margin-left: 35px;
width: 200px;
}

.Ul1p {
margin-left: 85px;
font-size: 16px;
}
li {

padding: 3px;
padding-right: 10px;
font-size: 16px;
}
.listyellow2 {

font-size: 17px;
}

.li600w{
width: 360px;
}
.listalarga {
width: 360px;
font-size: 16px;
text-align: left;

}
.listalarga1 {
width: 360px;
text-align: left;
font-size: 16px;
margin-left: 10px;

}

.lifitcont {
    width: 300px;
    font-size: 16px;
    text-align: left;
    padding: 5px;
    
}
.li30w {
width: 120px;
margin-left: 10px;
}

.li60w {
margin-left: 10px;
width: 200px;
padding-left: 10px;
}

.renglon1{ /*  renglon 20% */
width: 5em;


}

.renglon3{
width: 17rem;
font-size: 16px;
height: 18px;


}
table {
width: 380px;
border-radius: 25px;
font-family: Arial, Helvetica, sans-serif;
font-size: 15px;

}

#nouns {
height: 27px;


} 
.abrirycerrarmenu {
display: none;
width: 0;
color: transparent;
}
} 



